package com.kestrel.space.core.mapper;

import com.kestrel.space.core.model.MyFile;
import com.kestrel.space.core.query.MyFileQuery;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @Author: kestrel
 * @Version:1.0
 * @Date: 2024/8/21
 */
public interface FileMapper extends Mapper<MyFile>{
    List<MyFile> listOrganizationFiles(MyFileQuery query);

    List<Long> listMyFilesInOrg(Long userId, Long organizationId);
}
